package org.jeecg.modules.jxc.homepage.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: jxc_goods
 * @Author: jeecg-boot
 * @Date:   2021-12-20
 * @Version: V1.0
 */
@Data
@TableName("jxc_goods")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="jxc_goods对象", description="jxc_goods")
public class JxcGoods implements Serializable {
    private static final long serialVersionUID = 1L;

	/**商品编号id，主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "商品编号id，主键")
    private String id;
	/**商品编码*/
	@Excel(name = "商品编码", width = 15)
    @ApiModelProperty(value = "商品编码")
    private String goodsCode;
	/**商品名称*/
	@Excel(name = "商品名称", width = 15)
    @ApiModelProperty(value = "商品名称")
    private String goodsName;
	/**库存数量*/
	@Excel(name = "库存数量", width = 15)
    @ApiModelProperty(value = "库存数量")
    private Integer inventoryQuantity;
	/**库存下限*/
	@Excel(name = "库存下限", width = 15)
    @ApiModelProperty(value = "库存下限")
    private Integer minNum;
	/**商品型号*/
	@Excel(name = "商品型号", width = 15)
    @ApiModelProperty(value = "商品型号")
    private String goodsModel;
	/**生产厂商*/
	@Excel(name = "生产厂商", width = 15)
    @ApiModelProperty(value = "生产厂商")
    private String goodsProducer;
	/**采购价格*/
	@Excel(name = "采购价格", width = 15)
    @ApiModelProperty(value = "采购价格")
    private Double purchasingPrice;
	/**上一次采购价格*/
	@Excel(name = "上一次采购价格", width = 15)
    @ApiModelProperty(value = "上一次采购价格")
    private Double lasjxcPurchasingPrice;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remarks;
	/**出售价格*/
	@Excel(name = "出售价格", width = 15)
    @ApiModelProperty(value = "出售价格")
    private Double sellingPrice;
	/**0表示初始值,1表示已入库，2表示有进货或销售单据*/
	@Excel(name = "0表示初始值,1表示已入库，2表示有进货或销售单据", width = 15)
    @ApiModelProperty(value = "0表示初始值,1表示已入库，2表示有进货或销售单据")
    private Integer state;
	/**商品单位*/
	@Excel(name = "商品单位", width = 15)
    @ApiModelProperty(value = "商品单位")
    private String goodsUnit;
	/**商品类别id，外键*/
	@Excel(name = "商品类别id，外键", width = 15)
    @ApiModelProperty(value = "商品类别id，外键")
    private Integer goodsTypeId;

    @Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
    private String createBy;

    @Excel(name = "创建时间", width = 15)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @Excel(name = "修改人", width = 15)
    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @Excel(name = "修改时间", width = 15)
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @Excel(name = "0表示未删除,1表示删除", width = 15)
    @ApiModelProperty(value = "0表示未删除,1表示删除")
    private Integer delFlag;


}
